package com.chengcang.api.modules.login.service;

import com.chengcang.api.common.annotation.RateLimit;

public interface RateLimitService {
    /**
     * 接口频次限制校验
     * @param ip
     * @param uri
     * @param rateLimit
     * @return
     */
    Boolean limit(String ip, String uri, RateLimit rateLimit);
}
